/************************************************************
**
** Application: CJLib
**
** Title:       c.string
**
*************************************************************/

/* Include files */
/* from standard clib */
#include <stdlib.h>
#include <stdio.h>

/* from oslib */

/* from CJLib */
#include "CJLib:etc.h"

/* from application */
#include "oslib/territory.h"
#include "string.h"



/************************************************************/

/* exported variables */

/* global variables */

/* forward function declarations */


/************************************************************/





/* use territory_collate to do string comparisons, either with case or ignoring case */

#ifdef NEVER
int strcmp_case ( char *s1, char *s2, territory_collate_flags f )
{
  return (territory_collate ( territory_CURRENT, s1, s2, f ));
}



int strcmp_withcase ( char *s1, char *s2 )
{
  return (territory_collate ( territory_CURRENT, s1, s2, (territory_collate_flags)0 ));
}
#endif



int strcmp_ignorecase ( char *s1, char *s2 )
{
  return (territory_collate ( territory_CURRENT, s1, s2, territory_IGNORE_CASE ));
}





